home *** CD-ROM | disk | FTP | other *** search
/ Shareware Grab Bag / Shareware Grab Bag.iso / 007 / bixdos.arc / DOSFCALL < prev    next >
Encoding:
Text File  |  1986-11-24  |  13.0 KB  |  396 lines

  1. TITLE: The list
  2.  
  3.  
  4.  
  5.   Interrupt      Description    
  6. -------------------------------------------------------------------
  7.  
  8.        CPU  interrupts  
  9.  
  10.     INT=00       Divide by zero execption
  11.     INT=01       Single step
  12.     INT=02       Non-maskable interrupt
  13.     INT=03       Breakpoint
  14.     INT=04       Fixed overflow
  15.     INT=05       Print screen
  16.     INT=06       PC-AT Invalid operation code
  17.     INT=07       Reserved
  18.  
  19.        The following are the default external interrupt
  20.        assignments for the 8259 interrupt controller.
  21.  
  22.     INT=08       Timer 0 interrupt
  23.     INT=09       Keyboard interrupt
  24.     INT=0A       PC-AT Slave 8259 interrupt
  25.     INT=0B       COM2 RS-232 interrupt
  26.     INT=0C       COM1 RS-232 interrupt
  27.     INT=0D       PC/PC-XT/PPC Fixed disk adapter
  28.     INT=0E       Diskette adapter interrupt
  29.     INT=0F       Parallel printer interrupt
  30.  
  31.  
  32.         BIOS Services:
  33.  
  34.     INT=10       Video services
  35.       AH=00        Set mode
  36.       AH=01        Set cursor type
  37.       AH=02        Set cursor position
  38.       AH=03        Read cursor position
  39.       AH=04        Read light pen position
  40.       AH=05        Select active display page
  41.       AH=06        Scroll active page up
  42.       AH=07        Scroll active page down
  43.       AH=08        Read attribute & character
  44.       AH=09        Write attribute & character
  45.       AH=0A        Write character only
  46.       AH=0B        Set color palette
  47.       AH=0C        Write dot
  48.       AH=0D        Read dot
  49.       AH=0E        Write teletype to active page
  50.       AH=0F        Current video state
  51.  
  52.       AH=10        EGA/PCjr Palette registers
  53.         AL=00        EGA/PCjr Set palette reg
  54.         AL=01        EGA/PCjr Set overscan reg
  55.         AL=02        EGA/PCjr Set all registers
  56.         AL=03        EGA Toggle intensify/blink
  57.       AH=11        EGA Character generator
  58.  
  59.               Next few functions entail an implied mode set
  60.  
  61.         AL=00        EGA User alpha load
  62.         AL=01        EGA ROM monochrome font
  63.         AL=02        EGA ROM 8x8 double dot font
  64.         AL=03        EGA Set block specifier
  65.  
  66.               Next group does not entail an implied mode set
  67.  
  68.         AL=10        EGA User alpha load
  69.         AL=11        EGA ROM monochrome font
  70.         AL=12        EGA ROM 8x8 double dot font
  71.  
  72.               Next group selects characters sets for graphics modes
  73.  
  74.         AL=20        EGA Graphic user alpha load
  75.         AL=21        EGA Graphic 8 by X font
  76.         AL=22        EGA Graphic ROM 8x14 font
  77.         AL=23        EGA Graphic ROM 8x8 double
  78.  
  79.         AL=30        EGA Font Information
  80.       AH=12        EGA Alternate select
  81.       AH=13        EGA/PC-AT Write string
  82.  
  83.     INT=11       Equipment check
  84.     INT=12       Memory size
  85.  
  86.     INT=13       Disk/Diskette services
  87.       AH=00        Reset disk/diskette system
  88.       AH=01        Read last operation status
  89.       AH=02        Read sectors
  90.       AH=03        Write sectors
  91.       AH=04        Verify sectors
  92.       AH=05        Format a track
  93.       AH=06        Format with bad sector flags
  94.       AH=07        Format drive
  95.       AH=08        Return drive parameters
  96.       AH=09        Init drive characteristics
  97.       AH=0A        Read long (data+ECC)
  98.       AH=0B        Write long (data+ECC)
  99.       AH=0C        Seek
  100.       AH=0D        Reset based on DL
  101.       AH=0E        Read sector buffer
  102.       AH=0F        Write sector buffer
  103.       AH=10        Test drive ready
  104.       AH=11        Recalibrate
  105.       AH=12        Controller RAM diagnostic
  106.       AH=13        Drive diagnostic
  107.       AH=14        Controllr internal diagnostic
  108.       AH=15        PC-AT Read DASD type
  109.       AH=16        PC-AT Disk change line status
  110.       AH=17        PC-AT Set DASD type
  111.  
  112.     INT=14       Serial port services
  113.       AH=00        Init communications port
  114.       AH=01        Send character
  115.       AH=02        Receive character
  116.       AH=03        Return communications status
  117.  
  118.     INT=15       Cassette services (PC/PCjr)
  119.       AH=00        Start cassette motor
  120.       AH=01        Stop cassette motor
  121.       AH=02        Read cassette
  122.       AH=03        Write cassette
  123.  
  124.               PC-AT System Extensions for Multitasking
  125.  
  126.       AH=80      PC-AT Device open
  127.       AH=81      PC-AT Device close
  128.       AH=82      PC-AT Program termination
  129.       AH=83      PC-AT Event wait
  130.       AH=84      PC-AT Joystick support
  131.       AH=85      PC-AT SysReq key
  132.         AL=00      PC-AT SysReq key make
  133.         AL=01      PC-AT SysReq key break
  134.       AH=86      PC-AT Wait
  135.       AH=87      PC-AT Move block
  136.       AH=88      PC-AT Extended memory size
  137.       AH=89      PC-AT Processor to virtual mode
  138.       AH=90      PC-AT Device busy
  139.       AH=91      PC-AT Interrupt complete flag
  140.  
  141.     INT=16       Keyboard services
  142.       AH=00        Read next char from keyboard
  143.       AH=01        Test if char available
  144.       AH=02        Return shift status
  145.  
  146.     INT=17       Printer services
  147.       AH=00        Print character
  148.       AH=01        Initialize printer
  149.       AH=02        Return printer status
  150.  
  151.     INT=18       Enter Cassette basic
  152.     INT=19       Load and execute bootstrap
  153.  
  154.     INT=1A       Timer services
  155.       AH=00        Read time of day clock
  156.       AH=01        Set time of day clock
  157.       AH=02        PC-AT Read real time clock
  158.       AH=03        PC-AT Set real time clock
  159.       AH=04        PC-AT Read date
  160.       AH=05        PC-AT Set date
  161.       AH=06        PC-AT Set alarm
  162.       AH=07        PC-AT Reset alarm
  163.  
  164.     INT=1B       BIOS level Ctrl-Break exit
  165.     INT=1C       Timer tick user exit
  166.  
  167.  
  168.    INT=1D        TABLE     Used for video parameters
  169.    INT=1E        TABLE     Used for diskette parameters
  170.    INT=1F        TABLE     Used for graphics characters
  171.  
  172.  
  173.     INT=20       Program termination
  174.  
  175.  
  176.  
  177.         DOS FUNCTION CALLS
  178.  
  179.     INT=21       DOS services
  180.  
  181.       AH=00        Alternate program termination
  182.       AH=01        Keyboard Input
  183.       AH=02        Display output
  184.       AH=03        Auxiliary input
  185.       AH=04        Auxiliary output
  186.       AH=05        Printer output
  187.       AH=06        Direct console I/O
  188.       AH=07        Direct console input w/o echo
  189.       AH=08        Console input w/o echo
  190.       AH=09        Print string
  191.       AH=0A        Buffered keyboard input
  192.       AH=0B        Check stdin status
  193.       AH=0C        Clear keyboard buf & invoke
  194.       AH=0D        Disk reset
  195.       AH=0E        Select disk
  196.       AH=0F        Open file using FCB
  197.       AH=10        Close file using FCB
  198.       AH=11        Search for 1st entry w FCB
  199.       AH=12        Search for next entry w FCB
  200.       AH=13        Delete file using FCB
  201.       AH=14        Sequential read using FCB
  202.       AH=15        Sequential write using FCB
  203.       AH=16        Create file using FCB
  204.       AH=17        Rename file using FCB
  205.       AH=18  
  206.       AH=19        Current disk
  207.       AH=1A        Set disk transfer address
  208.       AH=1B        Allocation table info
  209.       AH=1C        Alloc table info for drive
  210.       AH=1D  
  211.       AH=1E  
  212.       AH=1F  
  213.       AH=20  
  214.       AH=21        Random read using FCB
  215.       AH=22        Random write using FCB
  216.       AH=23        File size using FCB
  217.       AH=24        Set relative record# in FCB
  218.       AH=25        Set interrupt vector
  219.       AH=26        Create new program segment
  220.       AH=27        Random block read using FCB
  221.       AH=28        Random block write using FCB
  222.       AH=29        Parse filename
  223.       AH=2A        Get date
  224.       AH=2B        Set date
  225.       AH=2C        Get time
  226.       AH=2D        Set time
  227.       AH=2E        Set/reset verify switch
  228.       AH=2F        Get disk transfer address
  229.  
  230.               DOS 2 or later from here on
  231.  
  232.       AH=30        Get DOS version number
  233.       AH=31        Term process & stay resident
  234.       AH=32        Get disk parameter block
  235.       AH=33        Ctrl-break check
  236.       AH=34        Get "in DOS" flag
  237.       AH=35        Get interrupt vector
  238.       AH=36        Get disk free space
  239.       AH=37        Get/set switch char
  240.       AH=38        Get/set country dep. info
  241.       AH=39        Create subdirectory
  242.       AH=3A        Remove subdirectory
  243.       AH=3B        Change current directory
  244.       AH=3C        Create a file
  245.       AH=3D        Open a file
  246.       AH=3E        Close a file handle
  247.       AH=3F        Read from file/dev w handle
  248.       AH=40        Write to file/dev w handle
  249.       AH=41        Delete a file (Unlink)
  250.       AH=42        Move file read/write pointer
  251.       AH=43        Change file mode
  252.       AH=44        I/O control for devices
  253.         AL=00        Get device information
  254.         AL=01        Set device information
  255.         AL=02        Read ctrl info from handle
  256.         AL=03        Write ctrl info to handle
  257.         AL=04        Read ctrl info from drive
  258.         AL=05        Write ctrl info to drive
  259.         AL=06        Get input status
  260.         AL=07        Get output status
  261.         AL=08        Block device changeable?
  262.         AL=09        Block device redirected?
  263.         AL=0A        Handle redirected?
  264.         AL=0B        Change sharing retry count
  265.       AH=45        Duplicate file handle
  266.       AH=46        Force duplicate of handle
  267.       AH=47        Get current directory
  268.       AH=48        Allocate memory
  269.       AH=49        Free allocated memory
  270.       AH=4A        Modify alloc memory block
  271.       AH=4B        Load or execute a program
  272.         AL=00        Execute a program
  273.         AL=03        Load a program
  274.  
  275.       AH=4C        Terminate a process (EXIT)
  276.       AH=4D        Get return code of subprocess
  277.       AH=4E        Find 1st matching file
  278.       AH=4F        Find next matching file
  279.       AH=50  
  280.       AH=51  
  281.       AH=52  
  282.       AH=53  
  283.       AH=54        Get verify setting
  284.       AH=55  
  285.       AH=56        Rename a file
  286.       AH=57        Get/set file date and time
  287.       AH=58  
  288.  
  289.               DOS 3.0 or later from here on
  290.  
  291.       AH=59        Get extended error
  292.       AH=5A        Create a temporary file
  293.       AH=5B        Create a new file
  294.       AH=5C        Lock/Unlock file access
  295.         AL=00        Lock
  296.         AL=01        Unlock
  297.       AH=5D  
  298.  
  299.               DOS 3.1 or later from here on
  300.  
  301.       AH=5E        PC Network Program services
  302.         AL=00        Get machine name
  303.         AL=02        Printer setup
  304.       AH=5F      
  305.         AL=02      Get redirection list entry
  306.         AL=03      Redirect device
  307.         AL=04      Cancel redirection
  308.       AH=60  
  309.       AH=61  
  310.       AH=62        Get program segment address
  311.  
  312.  
  313.  
  314.  
  315.  
  316.  
  317.     INT=22       DOS Terminate address
  318.     INT=23       DOS Ctrl-Break exit
  319.     INT=24       DOS Critical error handler
  320.     INT=25       DOS Absolute disk read
  321.     INT=26       DOS Absolute disk write
  322.  
  323.     INT=27       DOS Terminate & stay resident
  324.     INT=28       DOS Idle signal
  325.     INT=29       DOS TTY output
  326.     INT=2A       DOS Critical section
  327.     INT=2F       DOS Multiplex interrupt
  328.  
  329.               Following subfunctions are defined for the DOS
  330.               resident PRINT command:
  331.  
  332.       AH=01      DOS Resident PRINT command
  333.         AL=00      Get installed state
  334.         AL=01      Submit file
  335.         AL=02      Cancel file
  336.         AL=03      Cancel all files
  337.         AL=04      Status
  338.         AL=05      End of status
  339.       AH=11      DOS Multiplex Signals
  340.  
  341.  
  342.  
  343.    INT=30     (Treat these as a table)         Not available. Used for DOS
  344.    INT=31                                        Long Jump Interface
  345.  
  346.     INT=40       Revectored diskette I/O
  347.  
  348.    INT=41              Table only             1st hard disk parameters
  349.  
  350.     INT=42       EGA Revectored video INT 10
  351.  
  352.    INT=43              Table only             EGA Video Parameters
  353.    INT=44              Table only             EGA/PCjr 1st 128 Graphic Chars
  354.    INT=46              Table only             PC-AT 2nd hard disk parameters
  355.  
  356.    INT=48       PCjr Xlate from 62-key keyboard
  357.  
  358.    INT=49              Tables only             PCjr Scan code translate table
  359.  
  360.               Next 2 entries defined for PC-AT only
  361.  
  362.     INT=4A       PC-AT alarm interrupt user exit
  363.     INT=50       PC-AT Periodic/alarm interrupt
  364.  
  365.     INT=5A       PC Cluster functions
  366.    INT=5B       PC Cluster revectored INT 19
  367.     INT=5C       PC Network functions
  368.  
  369.               Available for user program use
  370.  
  371.     INT=60   
  372.     INT=61   
  373.     INT=62   
  374.     INT=63   
  375.     INT=64   
  376.     INT=65   
  377.     INT=66   
  378.     INT=67   
  379.  
  380.        The following 8 entries are the default external
  381.        interrupt assignments for the PC-AT secondary 8259.
  382.  
  383.     INT=70       PC-AT Real-time clock
  384.     INT=71       PC-AT Redirected to IRQ2
  385.     INT=72       PC-AT Reserved
  386.     INT=73       PC-AT Reserved
  387.     INT=74       PC-AT Reserved
  388.     INT=75       PC-AT 80287 Coprocessor
  389.     INT=76       PC-AT Fixed disk controller
  390.     INT=77       PC-AT Reserved
  391.  
  392.    INT=E1              Table only             PC Cluster disk server info
  393.  
  394.    INT=E2       PC Cluster revectored INT 1C
  395.  
  396.